package org.ly.sys.bean;

import lombok.Data;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
* 权限关联表
*/
@Data
@Table("sys_user_role")
public class UserRole {

	/**
	 * 
	 */
	@Id
	@Column("Id")
	private Integer id;
	/**
	 * 
	 */
	@Column("role_id")
	private Integer roleId;
	/**
	 * 用户表id
	 */
	@Column("user_Id")
	private Integer userId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}